package JD_CAST_COL_MUST;

public class Vulnerable_02 {
    ArrayList<Object> list = new ArrayList<Object>();
    public void setInfo() {
        list.add("name");
        list.add(“address”);
    }
    public void display() {
        System.out.println("name==>"+(String) list.get(0));
        System.out.println("name==>"+(Number) list.get(1));
    }
}
